Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Fri, 27 Mar 2026 11:33:53 +0000 (12:33 +0100)
committerMatthias Klose <doko@ubuntu.com>
Fri, 27 Mar 2026 11:33:53 +0000 (12:33 +0100)
commit5995f560584d5feb34414ce5ec28e29d4e38d18e
treedb4b559a600347e41bef0bda54f86d847b7e3dbb
parent1116d53f47bffc02ca315f608b648da9c921bb20
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp